<!--{include file="head.htm"}-->
<!--{include file="nav.htm"}-->

<div class="span10">
	  
		  <div class="page-header">
            <h3>更新用户</h3>
          </div>
		  
          <div class="row-fluid">
            <div class="span12">
	  
	  
	  
	  <form class="form-horizontal" method="post" action="?action=user&do=updata">
	  
	       <input type="text" name="id" value="<!--{$row.id}-->" style="display:none;">
			<div class="control-group">
            <label for="input01" class="control-label">用户名：</label>
            <div class="controls">
              <input type="text" id="input01" class="input-xlarge" name="username" value="<!--{$row.username}-->">
            </div>
          </div>
			
		<div class="control-group">
            <label for="input01" class="control-label">用户组：</label>
            <div class="controls">
              <select name="roleid">
			  
				<option value ="2"  <!--{if $row.roleid == "2" }-->selected<!--{/if}--> >普通用户</option>
				<option value="1" <!--{if $row.roleid == "1" }-->selected<!--{/if}-->>管理员</option>
			  </select>
            </div>
          </div>

          <div class="control-group">
            <label for="input01" class="control-label">密码：</label>
            <div class="controls">
              <input type="password" id="input01" class="input-xlarge" name="password">
            </div>
          </div>


		   <div class="control-group">
            <label for="input01" class="control-label">再次密码：</label>
            <div class="controls">
              <input type="password" id="input01" class="input-xlarge" name="password2">
            </div>
          </div>
		  
			<div class="form-actions">
            <button class="btn btn-success" type="submit" >保存</button>
			   <a class="btn" href="?action=user"><i class="icon-share"></i> 返回</a>		
          </div>   	
      </form>
		  
		  
	   
            </div><!--/span-->
          </div><!--/row-->
		  
		  
        </div><!--/span-->

		
<!--{include file="foot.htm"}-->